package com.mk.seckill.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/demo")
public class DemoController {
	/**
	 * @Author hhwu
	 * @Description //TODO 测试
	 * @Date 14:45 2022/6/7
	 **/
	@RequestMapping("/hello")
	public String hello(Model model){
		/**
		 * @Author hhwu
		 * @Description //TODO 测试页面跳转
		 * @Date 14:45 2022/6/7
		 * @Param [model]
		 * @return java.lang.String
		 **/
		model.addAttribute("name","xxxx");
		return "hello";
	}

}